package com.syh.jn.scm.service.impl.upstream.system;

import com.alibaba.dubbo.config.annotation.Service;
import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.core.ddd.service.AbstractServiceImpl;
import com.syh.jn.scm.domain.upstream.entity.system.UpMenu;
import com.syh.jn.scm.domain.upstream.repository.system.UpMenuRepository;
import com.syh.jn.scm.dto.upstream.system.UpMenuVo;
import com.syh.jn.scm.service.api.upstream.system.UpMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UpMenuServiceImpl extends AbstractServiceImpl<Object, Object, UpMenuVo, UpMenu, Long> implements UpMenuService {

  @Autowired
  private UpMenuRepository upMenuRepository;

  @Override
  protected AggregateRepository<UpMenu, Long> getAggregateRepository() {
    return this.upMenuRepository;
  }


}
